﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using IQKS.AWP.DataAccessLayer;
using IQKS.AWP.BusinessObject;


namespace IQKS.AWP.BusinessAccessLayer
{
    public class CandidateBriefDetailsAuditorBAL
    {

        public DataSet GetCandidateBriefDetailByCandidateID(params object[] param)
        {
            DataSet objDs;



            try
            {

                objDs = new CandidateBriefDetailsAuditorDAL().GetCandidateBriefReviewByCandidateID(param);

            }
            catch (Exception exception)
            {
                throw new ApplicationException(exception.Message);
            }
            return objDs;
        
        
        }

        public object SetDeleteAssessorReviewDocument(params object[] param)
        {
            try
            {
                return new CandidateBriefDetailsAuditorDAL().SetDeleteAssessorReviewDocument(param);
            }
            catch (Exception ex)
            {
                throw new ApplicationException(ex.Message);
            }
        }

        public object SetCandidateBriefReview(params object[] param)
        {
            try
            {
                return new CandidateBriefDetailsAuditorDAL().SetCandidateBriefReview(param);
            }
            catch (Exception ex)
            {
                throw new ApplicationException(ex.Message);
            }
        }


        public object SetAssessorQuery(params object[] param)
        {
            try
            {
                return new CandidateBriefDetailsAuditorDAL().SetAssessorQuery(param);
            }
            catch (Exception ex)
            {
                throw new ApplicationException(ex.Message);
            }
        }


        public DataSet GetCandidateReviewDocumentByDocumentType(params object[] param)
        {
            try
            {
                return new CandidateBriefDetailsAuditorDAL().GetCandidateReviewDocumentByDocumentType(param);
            }
            catch (Exception ex)
            {
                throw new ApplicationException(ex.Message);
            }
        }

    }
}
